package com.shop.cereshop.business.dl.logic.service.Impl;

import com.shop.cereshop.business.dao.dl.CereShopImportTicketLogDao;
import com.shop.cereshop.business.dl.logic.domain.CereShopImportTicketLog;
import com.shop.cereshop.business.dl.logic.service.CereShopImportTicketLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author: 况鑫威
 * @Date: 2021/7/28
 * @Time: 10:54
 * @ClassName: CereShopImportTicketLogServiceImpl
 * @Description: com.shop.cereshop.business.dl.logic.service.Impl
 */
@Service
public class CereShopImportTicketLogServiceImpl implements CereShopImportTicketLogService {

    @Autowired
    private CereShopImportTicketLogDao cereShopImportTicketLogDao;


    @Override
    public int deleteByPrimaryKey(Long importTicketLogId) {
        return cereShopImportTicketLogDao.deleteByPrimaryKey(importTicketLogId);
    }

    @Override
    public int insert(CereShopImportTicketLog record) {
        return cereShopImportTicketLogDao.insert(record);
    }

    @Override
    public int insertSelective(CereShopImportTicketLog record) {
        return cereShopImportTicketLogDao.insertSelective(record);
    }

    @Override
    public CereShopImportTicketLog selectByPrimaryKey(Long importTicketLogId) {
        return cereShopImportTicketLogDao.selectByPrimaryKey(importTicketLogId);
    }

    @Override
    public int updateByPrimaryKeySelective(CereShopImportTicketLog record) {
        return cereShopImportTicketLogDao.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(CereShopImportTicketLog record) {
        return cereShopImportTicketLogDao.updateByPrimaryKey(record);
    }
}
